<?php
class Office extends AppModel {
    var $name = 'Office';
	
	var $belongsTo = array( 
			'Affiliate' => array(
					'className'     => 'Affiliate', 
					'foreignKey'    => 'id_affiliates' 				 
										 
			)				
	); 

}
?>